<?php echo $message; ?>

<?php if (isset($image_name)) { ?>
<script type="text/javascript">
    $('#image_user_<?php echo $id; ?>').attr('src','<?php echo base_url('img/logos/'.$image_name.''); ?>');
    console.debug($('#image_user_<?php echo $id; ?>').attr('src','<?php echo base_url('img/logos/'.$image_name.''); ?>'));
</script>
<?php } ?>
